package com.pignest.hotel.definition;

/** 入住状态 */
public enum LivingState {
	
	LIVING("入住")
	, CHECKOUT("结帐"),
	PARTCHECKOUT("部分结账"),
	HANDUP("挂账"),
	CANCEL("撤消"),
	;
	
	private String displayName;
	LivingState(String displayName){
		this.displayName = displayName;
	}
	
	public String getName() {
		return name();
	}

	public String getDisplayName() {
		return displayName;
	}
	
	public boolean is(String name) {
		return name().equals(name);
	}
}
